﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Quickuse.Logging
{
    /// <summary>
    /// 公共常量
    /// </summary>
    internal class PublicConst
    {

        /// <summary>
        /// 配置文件名
        /// </summary>
        public const string ConfigFileName = "quickuse.logging.json";

        /// <summary>
        /// Email
        /// </summary>
        public const string EmailLoggerName = "Email";

        /// <summary>
        /// File
        /// </summary>
        public const string FileLoggerName = "File";

        /// <summary>
        /// Http
        /// </summary>
        public const string HttpLoggerName = "Http";

        /// <summary>
        /// Es
        /// </summary>
        public const string EsLoggerName = "Es";

        /// <summary>
        /// 默认超时时间（30秒）
        /// </summary>
        public const int DefaultTimeout = 1000 * 30;

        /// <summary>
        /// 默认索引名
        /// </summary>
        public const string IndexName = "quickuse-log";

        /// <summary>
        /// 默认类型名
        /// </summary>
        public const string TypeName = "text";

        /// <summary>
        /// 最多排队长度
        /// </summary>
        public const int MaxQueuedLength = 10240;

    }
}
